Crate axum_extra
source ·Expand description
Extra utilities for axum
.
Feature flags
axum-extra uses a set of [feature flags] to reduce the amount of compiled and optional dependencies.
The following optional features are available:
Name | Description | Default? |
---|---|---|
async-read-body | Enables the AsyncReadBody body | No |
cookie | Enables the CookieJar extractor | No |
cookie-private | Enables the PrivateCookieJar extractor | No |
cookie-signed | Enables the SignedCookieJar extractor | No |
cookie-key-expansion | Enables the Key::derive_from method | No |
erased-json | Enables the ErasedJson response | No |
form | Enables the Form extractor | No |
json-lines | Enables the JsonLines extractor and response | No |
multipart | Enables the Multpart extractor | No |
protobuf | Enables the Protobuf extractor and response | No |
query | Enables the Query extractor | No |
typed-routing | Enables the TypedPath routing utilities | No |
Modules
- Additional bodies.
Either*
types for combining extractors or responses into a single type.- Additional extractors.
- Additional handler utilities.
- json_lines
json-lines
Newline delimited JSON extractor and response. - Additional middleware utilities.
- protobuf
protobuf
Protocol Buffer extractor and response. - Additional types for generating responses.
- Additional types for defining routes.